package com.cn.stusy0015.demo0019;

import java.util.Scanner;

/**
 * @author lw
 * @ClassName TestBirthday.java
 * @Description
 * @createTime 2023年05月21日 08:28:00
 */
public class TestBirthday {
    public static void main(String[] args) {
        Birthday b = new Birthday();
        System.out.println("请输入生日（1900/01/01）:");
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        boolean res = b.birthdayToVerify(str);
        if (res) {
            System.out.println("\""+str + "\""+"生日验证成功！");
        }
    }
}
